<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Communications: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= stylesheet_link_tag 'style' %>
</head>
<body>

<div id="wrapper">
	<span style="float:right;"><%= link_to "#{@dashboard}", :controller=>"dashboard", :action => "index" %> <%= link_to "Logout", :controller=>"login", :action => "logout" %></span>
  <div id="header">
  <img src="/images/header.jpg" width="800" height="100" border="0" usemap="#Map" />
	<map name="Map" id="Map">
		<area shape="rect" coords="323,25,435,57" href="/home" />
		<area shape="rect" coords="321,66,436,97" href="/materials" />
		<area shape="rect" coords="444,25,555,56" href="/settings" />
		<area shape="rect" coords="442,67,555,97" href="/grades" />
		<area shape="rect" coords="563,67,676,96" href="/schedule" />
		<area shape="rect" coords="564,25,675,56" href="/syllabus" />
		<area shape="rect" coords="683,26,795,57" href="/communications" />
		<area shape="rect" coords="682,66,795,96" href="/rate" />
	</map>
  </div>
  <div id="container">
	<%= yield  %>
	 <div class="clear"></div>
	 <div id="footer">
		<p class="flash"><%= flash[:notice] %></p>
	 	<p>Developed by David Wiggins, Artan Ismaili, and Dave Hackett</p>
	 	<a href="http://ilab.cs.byu.edu/cs360/">cs360</a> | <a href="http://www.byu.edu/webapp/home/index.jsp">byu.edu</a> | <a href="http://www.dilbert.com/">dilbert.com</a>
	 </div>
  </div>
</div>
</body>
</html>
